package com.anttribe.components.db.sql;

import com.anttribe.components.db.sql.statement.CreateTableSqlStatement;
import com.anttribe.components.db.sql.statement.DropTableSqlStatement;
import com.anttribe.components.db.sql.stereotype.SqlStatement;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author zhaoyong
 * @date 2022/11/21 0021
 */
@Getter
@AllArgsConstructor
public enum SqlOperation {

    /**
     * 创建表
     */
    CREATE_TABLE(CreateTableSqlStatement.class),
    /**
     * 删除表
     */
    DROP_TABLE(DropTableSqlStatement.class);

    /**
     * sqlStatementClazz
     */
    private Class<? extends SqlStatement> sqlStatementClazz;

}
